body {
  background: transparent;
  overflow-x: hidden;
  font-size: 14px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  background-color: #f0f0f0;
  color: #666;
  //background: rgba(190, 192, 180, 0.21);;
}

body, body * {
  font-family: Hiragino Sans GB, Arial, Helvetica, "宋体", sans-serif;
}

@bg-color: #ff8047;
// #dff0d8;
@ft-color: white;
// #3c763d;

@nav-bg-color: #f0f0f0;
@nav-btn-color: #f0f0f0;
@nav-ft-color: #ff8400;

.bs-callout-danger {
  border-left-color: @bg-color;
}

.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}

.bs-callout-danger h4 {
  color: @bg-color;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.product-info-panel {
  .product-price {
    color: red;
    font-size: 1.3em;
  }
  .shop-name {
    font-weight: bold;
    font-size: 1.2em;
  }
}

.common-list-group {
  .common-list-item {
    border-bottom: 3px #e6e6e6 solid;
    .name {
      font-weight: bold;
      font-size: 1.2em;
    }
    .description {
      font-size: 0.9em;
    }
  }
}

.m-pager {
  text-align: center;
}

.panel-heading {
  background: @bg-color !important;
  color: @ft-color !important;
}

.limit-line {
  text-overflow: ellipsis;
  overflow: hidden;
}

.category-list-group {
  .category-list-item {

  }
}

.hotests-shops-preview-panel,
.hotests-products-preview-panel,
.products-preview-panel,
.shops-preview-panel {
  padding: 15px;
  //padding: 15px 0 15px 15px;
  .m3-item-panel {
    position: relative;
    width: 33%;
    float: left;
  }
  .product-price {
    color: red;
    font-weight: bold;
  }
}

.hotests-shops-preview-panel {
  margin-top: -24px;
  .m3-item-panel {
    padding-top: 10px;
    display: inline-block;
    width: 100%;
    float: none;
    border-bottom: solid 1px #e1e1e8;
    img {
      display: inline-block;
    }
    .inline-name {
      display: inline-block;
      padding-left: 8px;
      color: #222222;
    }
    .inline-description {
      display: inline;
      top: 62px;
      left: 90px;
      position: absolute;
      color: #6D6B6B;
    }
    .inline-address {
      display: inline;
      bottom: 15px;
      right: 10px;
      position: absolute;
      color: #aaaaaa;
    }
    .inline-rating {
      position: absolute;
      left: 90px;
      top: 44px;
      color: #ff2a2a;
    }
  }
}

div.m-nav-item {
  display: inline-block;
}

.div-nav {
  position: relative;
  height: 50px;
  padding-top: 7px;
  .m-nav-second-final-item {
    margin-top: 7px;
  }
}

.nav-pills.nav {
  background: @bg-color;
  color: @ft-color;
  li[role=presentation] a,
  .m-nav-item a {
    background-color: @bg-color;
    color: @ft-color;
  }
  font-size: 16px;
}
@media (max-device-width: 1000px) {

  .content.container {
    overflow-x: hidden;
  }
  form {
    text-align: center;
    .form-group {
      text-align: left;
    }
  }

  .nav-pills.nav {
    background: @bg-color;
    color: @ft-color;
    li[role=presentation] a,
    .m-nav-item a {
      background-color: @bg-color;
      color: @ft-color;
    }
    font-size: 16px;
  }

  .div-nav {
    background: @nav-bg-color !important;
    .m-nav-second-final-item {
      background: @nav-bg-color !important;
      .border-nav-title {
        background: @nav-btn-color !important;
        color: @nav-ft-color !important;
        border-color: @nav-ft-color !important;
      }
    }
    .glyphicon {
      //background: @nav-bg-color !important;
      //color: @nav-ft-color !important;
    }
    .nav-back-icon {
      background-image: url("/static/img/nav-back.png");
      background-size: 24px;
      background-repeat: no-repeat;
      width: 30px;
      height: 30px;
      display: inline-block;
      content: ' ';
      margin-top: -5px;
    }
    a {
      background: @nav-bg-color !important;
    }
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .content.container {
    overflow-y: auto;
  }

  .header-bar {
    display: none;
  }

  .nav-pills > li > a {
    border-radius: 0;
  }

  .footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    .nav-pills > li > a {
      border-radius: 0;
    }
    .nav-pills > .m-nav-item > a {
      border-radius: 0;
    }
    .m-nav-item {
      text-align: center;
    }
    div.m-nav-item {
      display: inline-block;
    }
    .footer-nav-item {
      width: 24%;
    }
  }
}

.home-search-nav {
  position: relative;
}
@media (min-device-width: 901px) {
  .footer-bar {
    display: none;
  }

  .home-search-nav {
    width: 100%;
  }
}

.edui-editor {
  width: 100% !important;
  margin-bottom: 10px;
}

/* 这个ID为编辑器的ID */
.edui-editor-iframeholder {
  width: 100% !important
}

/* 这个ID为编辑器可编辑区域的ID */

.top-bottom-ctrl-panel {
  position: fixed;
  bottom: 1.6em;
  right: 1em;
  font-size: 2em;
  .ctrl-up {
    padding: 0 5px
  }
  .ctrl-down {
    padding: 0 5px
  }
}

.inline-search-input {
  width: ~"calc(100% - 5em)";
  width: ~"-webkit-calc(100% - 5em)";
  display: inline;
  border-radius: 25px;
}

.inline-search-btn {
  width: 4.5em;
}

.nav-collect-item {
  float: right !important;
}

.comment-item-panel {
  position: relative;
  .comment-author-field {

  }
  .comment-date-field {
    color: #aaaaaa;
    position: absolute;
    right: 5px;
    top: 10px;
  }
}

.shop-list-item {
  padding: 0 !important;
}

input.inline-form-control {
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.category-logo {
  width: 3em;
  height: 3em;
}

.category-logo-panel {
  display: inline-block;
  box-sizing: border-box;
  width: 25%;
  text-align: center;
  height: 56px;
  padding-top: 5px;
  padding-bottom: 5px;
  span {
    color: #333333;
  }
}

.panel {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
}
.category-slides-panel {
  .left.carousel-control,.right.carousel-control {
    display: none;
  }
  .carousel-indicators {
    margin-bottom: -35px;
    li {
      background-color: #e3e3e3;
      width: 14px;
      height: 14px;
    }
    li.active {
      background-color: @bg-color;
      width: 16px;
      height: 16px;
    }
  }
  .carousel-inner {
    height: 140px;
  }
}

.home-banner {
  .carousel-control {
    height: 180px;
  }
}

.home-search-nav {
  background: @bg-color;
  //-webkit-appearance:none;
  .home-search-nav-select-group-btn {
    background: @bg-color;
    color: @ft-color;
    ul, li, li a {
      width: 6em;
      min-width: 6em;
      background: @bg-color;
      color: @ft-color;
    }
    .dropdown-menu, button.dropdown-toggle {
      background: @bg-color;
      color: @ft-color;
    }
  }
  option:selection {
    background: @bg-color;
    color: @ft-color;
    ::selection {
      background: @bg-color;
      color: @ft-color;
    }

    ::-moz-selection {
      background: @bg-color;
      color: @ft-color;
    }

    ::-webkit-selection {
      background: @bg-color;
      color: @ft-color;
    }
  }
  select, input, button {
    color: @ft-color;
    background: @bg-color;
    border: 0;
  }
  ::-webkit-input-placeholder {
    color: @ft-color;
  }

  :-moz-placeholder {
    /* Firefox 18- */
    color: @ft-color;
  }

  ::-moz-placeholder {
    /* Firefox 19+ */
    color: @ft-color;
  }

  :-ms-input-placeholder {
    color: @ft-color;
  }
}

.product-price.disabled {
  text-decoration: line-through;
  color: #777;
}

.m-nav-second-final-item {
  text-align: center;
  position: absolute;
  left: 50px;
  top: 7px;
  right: 0;
  padding-right: 50px;
}

.border-nav-title {
  margin: 0 auto;
  border: solid 1px white;
  padding: 5px 50px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
}

.m-star {
  display: inline-block;
  width: 66px;
  height: 12px;
  vertical-align: middle;
  background: url("/static/img/remark.png") no-repeat;
  background-size: 86px auto;
  vertical-align: middle;
  color: #666;
  margin-right: 10px;
  background-position: 0 -215px;
}

.home-search-input {
  text-indent: 20px;
  box-shadow: none !important;
}

//.home-search-input::-webkit-input-placeholder,
//.home-search-input:-moz-placeholder,
//.home-search-input::-moz-placeholder,
//.home-search-input:-ms-input-placeholder {
//  background-image: url("/static/img/search-input-icon.png");
//  background-repeat: no-repeat;
//  text-indent: 20px;
//}

.readmore-link {
  color: #666;
  font-weight: bolder;
  font-size: 18px;
  line-height: 16px;
  letter-spacing: 4px;
}

.collect-icon {
  background-image: url("/static/img/collect.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 30px;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.ctrl-up {
  background-image: url("/static/img/ctrl-up.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 30px;
  width: 30px;
  height: 30px;
  display: inline-block;
  border: solid 1px #D0CECE;
}

.uncollect-icon {
  background-image: url("/static/img/uncollect.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 30px;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.comment-icon {
  background-image: url("/static/img/comment-icon.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 30px;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.tousu-icon {
  background-image: url("/static/img/tousu-icon.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 30px;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.position-icon {
  background-image: url("/static/img/position-icon.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 25px;
  width: 25px;
  height: 25px;
  display: inline-block;
  margin-bottom: -7px;
}

.shop-phone-icon {
  background-image: url("/static/img/shop-phone-icon.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 25px;
  width: 25px;
  height: 25px;
  display: inline-block;
  margin-bottom: -5px;
}

.list-right-icon {
  background-image: url("/static/img/right-icon.png");
  content: ' ';
  background-repeat: no-repeat;
  background-size: 25px;
  width: 25px;
  height: 35px;
  margin-top: -6px;
  display: inline-block;
}

.comment-well {
  padding: 20px 6px;
  line-height: 20px;
}

.shop-add-comment-heading {
  background: white !important;
  color: #424242 !important;
}